A fast algorithm for computing a longest common increasing subsequence
نویسندگان
چکیده
Let A = 〈a1, a2, . . . , am〉 and B = 〈b1, b2, . . . , bn〉 be two sequences, where each pair of elements in the sequences is comparable. A common increasing subsequence of A and B is a subsequence 〈ai1 = bj1 , ai2 = bj2 , . . . , ail = bjl 〉, where i1 < i2 < · · · < il and j1 < j2 < · · · < jl , such that for all 1 k < l, we have aik < aik+1 . A longest common increasing subsequence of A and B is a common increasing subsequence of the maximum length. This paper presents an algorithm for delivering a longest common increasing subsequence in O(mn) time and O(mn) space. 2004 Elsevier B.V. All rights reserved.
منابع مشابه
A linear space algorithm for computing a longest common increasing subsequence
Let X and Y be sequences of integers. A common increasing subsequence of X and Y is an increasing subsequence common to X and Y . In this note, we propose an O(|X| · |Y |)-time and O(|X| + |Y |)-space algorithm for finding one of the longest common increasing subsequences of X and Y , which improves the space complexity of Yang et al. [I.H. Yang, C.P. Huang, K.M. Chao, A fast algorithm for comp...
متن کاملA Fast Heuristic Search Algorithm for Finding the Longest Common Subsequence of Multiple Strings
Finding the longest common subsequence (LCS) of multiple strings is an NP-hard problem, with many applications in the areas of bioinformatics and computational genomics. Although significant efforts have been made to address the problem and its special cases, the increasing complexity and size of biological data require more efficient methods applicable to an arbitrary number of strings. In thi...
متن کاملA Load Balancing Technique for Some Coarse-Grained Multicomputer Algorithms
The paper presents a load balancing method for some CGM (Coarse-Grained Multicomputer) algorithms. This method can be applied on different dynamic programming problems such as: Longest Increasing Subsequence, Longest Common Subsequence, Longest Repeated Suffix Ending at each point in a word and Detection of Repetitions. We present also experimental results showing that our method is efficient.
متن کاملA simple linear space algorithm for computing a longest common increasing subsequence
This paper reformulates the problem of finding a longest common increasing subsequence of the two given input sequences in a very succinct way. An extremely simple linear space algorithm based on the new formula can find a longest common increasing subsequence of sizes n and m respectively, in time O(nm) using additional min{n,m}+ 1 space.
متن کاملAnother Algorithm for Computing Longest Common Increasing Subsequence for Two Random Input Sequences
We have previously developed several algorithms which deal with different input sequence scenarios respectively. In this paper, another sequential algorithm for computing Longest Common Increasing Subsequence for two random input sequences is reported. It runs in O(m n log p) time complexity and takes space of O(2(m + n + 1) p), where m and n are the length for two input sequences respectively,...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Inf. Process. Lett.
دوره 93 شماره
صفحات -
تاریخ انتشار 2005